package com.chinacoal.microservice.impl.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.chinacoal.microservice.model.wofkflow.entity.ApprovalHistoryEntity;

/**  
 * @Package: com.chinacoal.microservice.impl.mapper.ApprovalHistoryMapper
 * @ClassName: ApprovalHistoryMapper
 * @ClassDesc: 审批历史Mapper
 * @Createby: sunh
 * @CreatedDate: 2019-11-29 09:27:57
 */  
public interface ApprovalHistoryMapper extends BaseMapper<ApprovalHistoryEntity> {

	/**  
	 * @Package: com.chinacoal.microservice.impl.mapper.ApprovalHistoryMapper.findList
	 * @MethodName: findList
	 * @MethodDesc: 获取历史列表
	 * @ParamList: {
	 *				 @param pages
	 *				 @param instanceId
	 *				 @return List<ApprovalHistoryEntity>
	 *			   }
	 * @Createby: sunh
	 * @CreatedDate: 2019-11-29 09:28:48
	 */ 
	public List<ApprovalHistoryEntity> findList(Page<ApprovalHistoryEntity> pages, @Param("instanceId") Long instanceId) throws Exception;
}
